home *** CD-ROM | disk | FTP | other *** search
/ Acorn RISC PD-CD 1 / Acorn RISC PD-CD 1.iso / languages / c / gnu / _gnuplot / demo / errbar_dem < prev    next >
Encoding:
Text File  |  1992-05-26  |  867 b   |  31 lines

  1. #
  2. # Requires data file "err_dat" from this directory,
  3. # so change current working directory to this directory before running.
  4. # gnuplot> set term <term-type>
  5. # gnuplot> load 'errorbar.demo'
  6. #
  7.  
  8. set title "Demonstration of error bars (both ylow and yhigh, default format)"
  9. plot [-3:65] "err_dat" with errorbars
  10.  
  11. pause -1 "Hit return to continue"
  12.  
  13. # this should look the same
  14. set title "Demonstration of error bars (both ylow and yhigh)"
  15. plot [-3:65] "err_dat" using 1:2:3:4 with errorbars
  16.  
  17. pause -1 "Hit return to continue"
  18.  
  19. set title "Demonstration of error bars (only ydelta)"
  20. plot [-3:65] "err_dat" using 1:2:5 with errorbars
  21.  
  22. pause -1 "Hit return to continue"
  23.  
  24. set title "Plot data file twice to get lines and errorbars"
  25. plot [-3:65] [6:14] "err_dat" with lines, "err_dat" using 1:2:4:3 with errorbars
  26.  
  27. set title ""
  28. set autoscale
  29.  
  30. pause -1 "Hit return to continue"
  31.